Contents | Index | < Browse | Browse >

LETTERtimeULETTER Returns the current system time.

Overview
#include <time.h>

t = time(tp);

time_t t;
time_t *tp;

Portability
ANSI

Description
Returns the current system time in the packed time_t format. "tp" can be NULL or point to a variable to contain the time value.

Returns
The current system time.